
from fastapi import Depends, FastAPI, APIRouter

from app.extensions.dependencies import verify_signature_header, parse_encryption_header

#from .factor import router as factor
#from .merchant import router as merchant
#from .trans import router as trans
from .report import report_router

VERSION = 'v1'
#prefix_url ='/api/%s' % VERSION

v1_router = APIRouter(
    #dependencies=[Depends(verify_signature_header)]
)

v1_router.include_router(report_router, prefix='/report')
#v1_router.include_router(merchant, dependencies=[Depends(verify_signature_header)])
#v1_router.include_router(factor)
#v1_router.include_router(trans, dependencies=[Depends(parse_encryption_header)])
#v1_router.include_router(trans, dependencies=[Depends(verify_xpay_header)])

'''
def register_routers(app: FastAPI):
    app.include_router(factor, prefix='%s/factor' % prefix_url)
    app.include_router(merchant, prefix='%s/merchant' % prefix_url)
'''
